package com.topnav.mc.document.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.topnav.mc.entity.base.BaseEntity;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * 档案
 */
@Data
@TableName("mc_archives")
public class Archives extends BaseEntity {

    private static final long serialVersionUID = 2924675881418660989L;

    private String archCode;
    private String archName;
    private String remark;
    private String caseCode;
    private Long orgId;
    private Long userId;

    @TableField(exist=false)
    private List<Document> documents = new ArrayList<Document>();

    @TableField(exist=false)
    private String orgName;

    @TableField(exist=false)
    private String userName;

}
